x86: Clean up PV guest LDT handling.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 4 Feb 2009 15:08:46 +0000 (15:08 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 4 Feb 2009 15:08:46 +0000 (15:08 +0000)
commitfe9e657ab67857983e92da8b35bbee85dad2d632
tree81b8c969e88a5847b2186a1fdd780bb35c888774
parentc1bba203a870d350048b0c86f7db513cee86cdeb
x86: Clean up PV guest LDT handling.
 1. Do not touch deferred_ops in invalidate_shadow_ldt(), as we may
 not always be in a context where deferred_ops is valid.
 2. Protected the shadow LDT with a lock, now that mmu updates are not
 protected by the per-domain lock.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/domain.c
xen/arch/x86/mm.c
xen/include/asm-x86/domain.h